package com.xiaoshuidi.cloud.module.report.dal.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.xiaoshuidi.cloud.framework.mybatis.core.mapper.BaseMapperX;
import com.xiaoshuidi.cloud.module.report.dal.DO.ContractHouseOwnerRoomRefDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
@InterceptorIgnore(tenantLine = "true")
public interface ContractHouseOwnerRoomRefMapper extends BaseMapperX<ContractHouseOwnerRoomRefDO> {



    @Select("select * from contract_house_owner_room_ref where contract_house_owner_id = #{contractId} ")
    List<ContractHouseOwnerRoomRefDO> selectByContractId(@Param("contractId")Long contractId );


}
